<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./jQuery.js"></script>
    <title>Document</title>
</head>

<body>

</body>
<script>
    localhost()
    function localhost() {
        $.ajax({
            type: "get",
            url: "http://localhost/toutiao/index",
            data: {
                "type": "yule",
                "key": "c14887fe64c3c92f7cd9507b34e01257"
            },
            success: function (response) {
                console.log(response);
            }
        });
    }
</script>

</html>